home *** CD-ROM | disk | FTP | other *** search
- ## suspend_8to5.tg
- #
- {
- # only run from 8:00 AM to 5:00 PM
- -name suspend_8to5.tg
-
- # start now
- -start
-
- # Suspend all processing before 8:00 AM
- # (Start the suspending at 12:00 AM to 8:00 AM)
- -suspend -time 12:00:00 AM
- -resume -time 8:00:00 AM
-
- # Suspend all processing after 5:00 PM
- # This suspention will run until the 24 hour clock
- # rolls-over at 12:00 AM
- -suspend -time 5:00:00 PM
-
- # if it is between 8am and 5pm, do our job.
- # This sample job only prints 'Tick!' on the console
- -action -print Tick!
-
- # do this again in one second
- -action -inc 0 0 0 1
- }